package com.acme.domain;

import com.acme.domain.request.*;
import com.acme.service.ParseService;

class StockThread implements Runnable{
	private Stock stock;
	private Request request;
	
	public StockThread(Stock stock, Request request){
		this.stock = stock;
		this.request = request;
	}

	@Override
	public void run() {
		ParseService.parseRequest( this.request,this.stock );
	}
	
}
